package cn.itcast.bos.service.base;

import cn.itcast.bos.domain.base.Courier;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.jpa.domain.Specification;

import java.util.List;

/**
 * Created by Administrator on 2017/7/21.
 */
public interface CourierService {
    void save(Courier courier);

    //带条件的分页查询
    Page<Courier> pageQuery(Specification<Courier> specification, PageRequest pageable);
    //作废快递员的方法
    void deltag(String[] idArray);
    //查询未关联定区的快递员
    List<Courier> findAllNoassociationFixedArea();
}
